var React = require('react');
//var PageView = require('../../controls/PageView');
var Form = require('../../controls/Form');
module.exports = React.createClass({
	render:function(){
		var _formAry = [
			{ title: 'Name', name:'name', type:'text', value:'yangyxu', text:'yangyxu' },
			{ title: 'Pwd', name:'pwd', type:'password', value:'123', text:'123' },
			{ title: 'Test', name:'test1', type:'hidden', value:'123', text:'123' },
			{ title: 'file', name:'file1', type:'file', value:'123', text:'123' },
		];
		return (
			<div className="doc">
				<Form
					syncSubmit={true}
					items={_formAry}
					/>
			</div>
		);
	}
});
